<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>个人页面</title>
  <script src="https://cdn.jsdelivr.net/npm/babel-polyfill/dist/polyfill.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/jquery"></script>
  <script src="__PUBLIC__/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
  <script src="__PUBLIC__/node_modules/datatables/media/js/jquery.dataTables.min.js"></script>
  <script src="__PUBLIC__/script/layer/layer.js"></script>
  <link rel="stylesheet" href="__PUBLIC__/node_modules/bootstrap/dist/css/bootstrap.min.css">
  <link rel="stylesheet" href="__PUBLIC__/style/manage.css">
  <link rel="stylesheet" href="__PUBLIC__/style/me.css">
</head>
<body>
  <!-- 隐藏功能元素区 -->
  <div class="hidden_form">
    <form autocomplete="off" action="{:U('Manageme/manage_me_qudao')}" method="get" id = 'hidden_form'></form>
  </div>
  <!-- end 隐藏功能元素区 -->

  <div class="container-fluid">
    <div class="col-xs-12" style="height:5px;"></div>
    <div class="col-xs-11 col-xs-offset-1">
      <!-- Nav tabs -->
      <iframe src="{:U('me')}?local=qudao" frameborder="0" style="width:100%;"></iframe>
    </div>

    <div class="main">
      <!-- logo 区域 -->
      <div class="logo_img">
        <if condition="$Think.session.user.login_img neq null">
        <span><img src="__ROOT__/{$Think.session.user.login_img}" alt="LOGO"></span>
        <else/>
        <span><img src="__PUBLIC__/images/dengluye/u5.png" alt="u5"></span>
        </if>
        <br>
        <span>{$Think.session.user.u_name}</span>
      </div>
      <!-- end logo 区域 -->

      <!-- 筛选区 -->
      <div class="search_form col-xs-offset-1 col-xs-10">
        <div class="ol_search_form_container"><span><img src="__PUBLIC__/images/dengluye/u391.png" alt="u391"></span> <input form="hidden_form" name= 'search' type="text"  placeholder="渠道名称（简称）" class="search_form"><input form="hidden_form" type="submit" value="搜索" class="search_button"></div>
        <div class="center_ol_search_button">
            <a class="only_one_type"><input checked style='display:none;' type="radio" name='type' value="5" id='me_type_1' form='hidden_form'><label for="me_type_1">全部成员</label></a>
            <a class="only_one_type"><input style='display:none;' type="radio" name='type' value="1" id='me_type_2' form='hidden_form'><label for="me_type_2">银行</label></a>
            <a class="only_one_type"><input style='display:none;' type="radio" name='type' value="3" id='me_type_3' form='hidden_form'><label for="me_type_3">消费金融</label></a>
            <a class="only_one_type"><input style='display:none;' type="radio" name='type' value="2" id='me_type_4' form='hidden_form'><label for="me_type_4">小额</label></a>
            <a class="only_one_type"><input style='display:none;' type="radio" name='type' value="4" id='me_type_5' form='hidden_form'><label for="me_type_5">其他</label></a>
        </div>
      </div>
      <!-- end 筛选区 -->

      <!-- 表头 -->
      <div class="col-xs-offset-1 col-xs-10 table_title">
        <span>已加盟渠道</span>
        <img title = '添加渠道' style="cursor:pointer;" id = 'add_zi_qudao' src="__PUBLIC__/images/dengluye/u80.png" alt="u80">
      </div>
      <!-- end 表头 -->

      <!-- 表格区 -->
      <div class="col-xs-offset-1 col-xs-10">
        <table class="messageBoxContent table table-striped table-bordered" id="main_table">
          <thead>
            <tr>
              <th class="No">序号</th>
              <th class="Local">地区</th>
              <th class="Date">加盟时间</th>
              <th class="qudao_type">渠道类型</th>
              <th class="qudao_name">渠道名称</th>
              <th class="Person">对接人</th>
              <th class="Phone">电话</th>
            </tr>
          </thead>
          <tbody>
            <volist name='list' id='vo'>
            <tr>
                <td class="No">{$key+1}</td>
                <td class="Local">{$vo.web_pro_id|re_data}-{$vo.web_city_id|re_data}-{$vo.web_area_id|re_data}</td>
                <td class="Date">{$vo.web_time}</td>
                <td class="qudao_type">{$vo.qudao_type}</td>
                <td class="qudao_name">{$vo.qudao_nick_name}</td>
                <td class="Person">{$vo.web_name}</td>
                <td class="Phone">{$vo.web_phone}</td>
            </tr>
            </volist>          </tbody>
        </table>
        <!-- begin 分页 -->
        <div class="authPage">
            <!-- 页面指示器 -->
            <!-- <div class="pages">24/{$count}</div> -->
            <!-- 分页列表 -->
            <!-- <span class="number">...</span> -->
            <div class="pageJump">
              {$page}
            </div>
          </div>
          <!-- end 分页 -->
      </div>
      <!-- end 表格区 -->

    </div>

    <!-- 页脚 -->
    <div class="col-xs-12">
      <div class="footer text-center"><p class="lead"><strong>深圳市東源匯信息科技有限公司</strong></p></div>
    </div>
    <!-- end 页脚 -->
  </div>

  <script>
    $(document).ready(function () {
      var proList = $('#main_table').DataTable({
        "paging": false,
        "info": false,
        "searching": false
      })

      // 跳转
      $('#add_zi_qudao').on('click', function(){
        location = `{:U('manage_me_qrcode')}`
      })
    })
  </script>
</body>
</html>